﻿using System;
using System.Net;


namespace Tulde.Windows.Music.Mp3Tunes
{
    /// <summary>
    /// Operations for a Locker Playlist
    /// </summary>
    public enum LockerPlaylistOperations
    {
        /// <summary>
        /// 
        /// </summary>
        playlistAdd,
        /// <summary>
        /// 
        /// </summary>
        playlistDelete,
        playlistEdit,
        /// <summary>
        /// 
        /// </summary>
        playlistTrackAdd,
        /// <summary>
        /// 
        /// </summary>
        playlistTrackDelete,
        /// <summary>
        /// 
        /// </summary>
        playlistTrackReorder,
        /// <summary>
        /// 
        /// </summary>
        RANDOM_TRACKS,
        /// <summary>
        /// 
        /// </summary>
        NEWEST_TRACKS, 
        /// <summary>
        /// 
        /// </summary>
        RECENTLY_PLAYED
    }
    /// <summary>
    /// 
    /// </summary>
    public class LockerPlaylistService : BaseDataService<LockerPlaylistOperations>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="result"></param>
        /// <returns></returns>
        protected override object DeserializeResult(string result)
        {
            throw new NotImplementedException();
        }
        /// <summary>
        /// 
        /// </summary>
        protected override string BaseUrl
        {
            get { return "http://ws.mp3tunes.com/api/v1"; }
        }
    }
}
